home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 029a / dsx12j.zip / DOSNIX.DOC < prev    next >
Text File  |  1992-01-05  |  64KB  |  2,116 lines

  1. ~
  2.  
  3.       DOSNIX.DOC (this file) has been keyed for use with HELP.BAT and
  4.     READ.  For on-line help merely type "help" and the name of the subject
  5.     with which you want help.  To search for subjects while in READ, begin
  6.     the search string with a ~ (tilde).
  7.  
  8.       For help from anywhere on your system, READ.EXE and HELP.BAT should 
  9.     be in a directory pointed to by the PATH command and you should put 
  10.     the full path name for DOSNIX.DOC in HELP.BAT.  For example: 
  11.  
  12.             READ +\~%1 C:\DOSNIX\DOSNIX.DOC
  13.  
  14.  
  15.  
  16.                 HELP INDEX
  17.  
  18.  
  19.         Introduction            LS
  20.         General                    MV
  21.         STDIN                    MVDIR
  22.         STDOUT                    READ
  23.         Commmands            RM
  24.             APP                 RN
  25.             CAT                SGREP
  26.             CHMOD                SPLIT
  27.             CLR                TEE
  28.             CP                TOLOWER 
  29.             CPDIR                TOUCH
  30.             DB                TOUPPER
  31.         EDC                WC
  32.         FFIND                Registration
  33.         GET
  34.  
  35.  
  36.  
  37. ~introduction
  38.  
  39.  
  40.                             DOSNIX ver. 1.2j
  41.                      Copyr. 1990,1991 by  G. Vrooman
  42.                           All rights reserved.
  43.  
  44.  
  45.         DOSNIX is a collection of UNIX style file management and text
  46.     utilities which will increase the power and flexibility of your
  47.     system.  DOSNIX provides many of the features which UNIX users
  48.     take for granted along with some features not even found on UNIX
  49.     systems.  It is not a UNIX clone but it is very compatible with UNIX 
  50.     conventions.  Users who are familiar with UNIX will have no trouble
  51.     learning DOSNIX.  Other users may find DOSNIX a good tool for learning 
  52.     UNIX.  Some of the programs included with DOSNIX are:
  53.  
  54.  
  55.     CHMOD -    This version of the UNIX CHMOD command has been adapted
  56.              to work with MSDOS file attributes.  It will allow you
  57.              to change the attributes of any file and allow you to
  58.              create read only, hidden and system files.
  59.  
  60.     CLR -      A utility which will allow you to customize your screen 
  61.          colors from the command line.  CLR will work properly with or
  62.          without ANSI.SYS.
  63.  
  64.     CP -       The UNIX counterpart of the DOS COPY command.  CP will
  65.              allow you to copy hidden and system files, and the DOSNIX
  66.              version will not overwrite existing files without warning
  67.              you.  CP can handle wild cards and multiple arguments and
  68.          will even allow you to format a new floppy disk if the first
  69.          one gets filled up.  CP also has options to utilize the archive 
  70.          bit or to copy files interactively.
  71.  
  72.     DB -       The famous "delete but" command will delete all except
  73.              specified files.  This command is not UNIX but it is a
  74.              great tool for cleaning up around ZIP, ARC and other archive
  75.              files.
  76.  
  77.     EDC -      Easy Directory Change.  This utility will allow you to
  78.          change directories without typing out long path names.
  79.          EDC can also be used to display a visual directory tree
  80.          on your screen.
  81.  
  82.     FFIND -    FFIND is a file locator in the tradition of the UNIX FIND
  83.              command.  Although FFIND does not have the power and scope
  84.              of the UNIX version, it is much easier to use.  FFIND will
  85.              locate files on any drive and will accept wild cards.  It
  86.              will also locate hidden and system files and has options
  87.              to remove unwanted files.
  88.  
  89.  
  90.  
  91.  
  92.  
  93.     LS -       The venerable UNIX directory lister.  LS has been spruced 
  94.          up and given another sort and two new display modes.  LS will 
  95.          now display directories sorted by file size as well as name, 
  96.          extension or date.  LS can list files in one, two, four or five 
  97.          column formats, sorted by row or by column, and offers a choice 
  98.          of upper or lower case output.  LS also offers reverse sorting
  99.          and a choice of switch characters. Default options can be set 
  100.          from the environment.
  101.  
  102.  
  103.     MV -       A fast powerful file mover, MV is used to relocate files
  104.              without performing separate COPY and  DEL commands.  MV can
  105.              be used to move files to any directory or to any drive.
  106.  
  107.     MVDIR -    The UNIX directory move utility.  MVDIR will relocate
  108.          complete directory trees and this version will even
  109.          move them to another drive.
  110.  
  111.     READ -     A highly modified version of the UNIX PG or MORE command,
  112.             READ is a handy text file viewer which will recognize both UNIX 
  113.          and keypad commands and will read from STDIN or directly from
  114.          files.  
  115.  
  116.     RM -       More powerful than the DOS DEL command, this utility
  117.              will remove complete directory structures and is great
  118.              for erasing floppies.  Unlike some UNIX versions, RM
  119.              will warn you before doing anything drastic.
  120.  
  121.  
  122.         DOSNIX also includes versions of the CAT, TEE and TOUCH commands.
  123.  
  124.  
  125.  
  126.  
  127. ~general
  128.  
  129.  
  130.     INSTALLING DOSNIX:
  131.  
  132.       DOSNIX is intended primarily for hard drives although    individual 
  133.     DOSNIX utilities can be copied to a floppy disk.  To install DOSNIX 
  134.     on your hard drive you can copy the files to any convenient directory,
  135.     such as C:\DOSNIX and add the directory to the PATH statement in your
  136.         AUTOEXEC.BAT file.  If you don't have an AUTOEXEC.BAT file you can 
  137.     make one with the following two lines:
  138.  
  139.                         PATH = C:;C:\DOSNIX
  140.                         PROMPT $P$G
  141.  
  142.     This will get you up and running with DOSNIX.
  143.  
  144.  
  145.     DOSNIX OPTIONS:
  146.  
  147.       Most DOSNIX commands have a simple format which can be enhanced by 
  148.     the use of UNIX style option strings.  The option string is always 
  149.     the first argument after the command and usually begins with a "-".  
  150.     See the Command Summary for the options available with each command.
  151.  
  152.       If you are used to MSDOS switches and find this awkward you can 
  153.     insert the following line in your AUTOEXEC.BAT file:
  154.  
  155.         SET SWITCH=/     (No space before or after "=")
  156.  
  157.     All commands except CHMOD and READ will then recognize a "/" as an 
  158.     option delimiter.  If you don't use this feature, you can use slashes 
  159.     in path names, as in UNIX, and they will be converted to back slashes.
  160.  
  161.  
  162.  
  163.     INSTANT HELP:
  164.  
  165.       This document has now been keyed for quick command searches and
  166.     a HELP.BAT file has been included.  To obtain on-line help, type 
  167.     "help" and the name of the subject with which you want help.  In
  168.     addition, a brief summary of most commands can be obtained by typing 
  169.     the name of the command followed by a "-?". 
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.     USING DOSNIX:
  177.  
  178.       DOSNIX is based on UNIX although the author has simplified some 
  179.     commands and enhanced others.  Other commands have been modified
  180.     slightly to make them more compatible with MSDOS. If you are familiar 
  181.     with UNIX you should have no problem with DOSNIX. If you are not 
  182.     familiar with UNIX, books on the subject are available in most book 
  183.     stores.  My own personal favorite, if you can still find it, is:
  184.  
  185.                 UNIX SYSTEM V PRIMER
  186.                 Waite, Martin & Pratha
  187.                 Howard W. Sams & Co., Inc.
  188.  
  189.     This book offers a lightly humorous treatment of UNIX and much of it 
  190.     is applicable to DOSNIX.
  191.  
  192.       DOSNIX has a great many options and features, which can be 
  193.     bewildering to the novice user.  Pick out the commands and options 
  194.     you need the most and get familiar with them before moving on.  LS 
  195.     is a great directory lister and it is a lot fun to play around with, 
  196.     but the -l option is all most people  will ever need.  The same is 
  197.     true with other commands. The options are there if you need them but 
  198.     don't feel you need to learn every one.
  199.  
  200.       You can experiment with DOSNIX by making a scratch directory or 
  201.     floppy and playing around with different commands. This procedure is 
  202.     highly recommended for destructive commands such as RM and DB.
  203.  
  204.  
  205.     COMPATIBILITY:
  206.  
  207.       DOSNIX was written and tested using an XT clone with Phoenix BIOS 
  208.     and MSDOS 3.1 and 3.3.  It was written very conservatively and should 
  209.     be upwardly compatible with with MSDOS 4.x, 5.x and most AT and 386
  210.     class machines.  Compatibility with MSDOS 2.x is not guaranteed.
  211.     Some utilities, such as READ and CLR, use BIOS level screen and 
  212.     keyboard functions and require an IBM compatible BIOS.  Because all 
  213.     utilities use small or medium memory models, they should not require 
  214.     more than 192k of memory to run. 
  215.  
  216.  
  217.     NOTE:
  218.  
  219.     UNIX is a registered trademark of AT&T Corporation.
  220.     MSDOS is a registered trademark of Microsoft Corporation.
  221.  
  222.  
  223.  
  224. ~stdin  ~stdout
  225.  
  226.  
  227.             STANDARD INPUT (STDIN) AND STANDARD OUTPUT (STDOUT)
  228.  
  229.  
  230.       DOSNIX utilities make extensive use of STDIN and STDOUT.  STDIN
  231.     is the keyboard unless you decide to redirect it.  STDOUT is the
  232.     screen unless you decide to redirect it.  Redirection is done by
  233.     using the MSDOS operators; <, >, >> and |.
  234.  
  235.     <     used with a program that normally reads from STDIN.  It 
  236.         tells MSDOS to use the contents of a file for STDIN.
  237.         For example: 
  238.  
  239.             more < dosnix.doc
  240.  
  241.           
  242.     >    writes STDOUT to a file.  For example:
  243.  
  244.             cat dosnix.doc
  245.  
  246.         writes DOSNIX.DOC to the screen, while
  247.  
  248.             cat dosnix.doc > another.doc
  249.  
  250.         copies DOSNIX.DOC to ANOTHER.DOC.
  251.  
  252.  
  253.     >>    appends STDOUT to an existing file or writes STDOUT
  254.         to a new file.  For example:
  255.  
  256.             cat quickref.doc >> dosnix.doc
  257.  
  258.         appends QUICKREF.DOC to DOSNIX.DOC.  Unfortunately
  259.         this operator will leave an unwanted CTRL-Z between
  260.         the two files.  For this reason, DOSNIX includes an 
  261.         APP command.
  262.  
  263.  
  264.     |    The pipeline operator. Uses STDOUT as STDIN for a
  265.         second program.  For example:
  266.  
  267.             cat *.doc | read
  268.  
  269.         pipes all files with an extension of .DOC to READ.
  270.  
  271.  
  272.  
  273.       UNIX and DOSNIX provide an additional command, TEE, which
  274.     will write STDOUT to the screen and store it in a file at
  275.     the same time.  For example:
  276.  
  277.             cat dosnix.doc | tee another.doc
  278.  
  279.     writes DOSNIX.DOC to the screen and stores it in ANOTHER.DOC.
  280.  
  281.  
  282.  
  283. ~commands
  284.  
  285.  
  286.                         LIST OF DOSNIX COMMANDS
  287. -------------------------------------------------------------------------------
  288.  
  289.  
  290.         APP             append standard input to file(s).
  291.  
  292.         CAT             Copy text file(s) to standard output.
  293.  
  294.         CHMOD           Modify attribute(s) of file.
  295.  
  296.         CLR             Set screen foreground, background and border colors.
  297.  
  298.         CP              Copy file to new file or directory.
  299.  
  300.         CPDIR           Copy directory and all subdirectories. 
  301.  
  302.         DB              Delete all files except specified files.
  303.  
  304.     EDC        Easy Directory Change.
  305.  
  306.         FFIND           Find all copies of file in specified path.
  307.  
  308.         GET             Find all filenames containing specified string. 
  309.  
  310.         LS              List contents of directory.
  311.  
  312.         MV              Move file to new file or directory.
  313.  
  314.         MVDIR           Move directory and all subdirectories to new location.
  315.  
  316.         READ            Display text file in page format.
  317.  
  318.         RM              Remove file(s).
  319.  
  320.         RN              Rename file or directory.
  321.  
  322.     SGREP        Search  text file(s) for specified string.
  323.  
  324.     SPLIT        Split a text file into several smaller files.
  325.  
  326.         TEE             Copy standard input to standard output and file(s).
  327.  
  328.         TOLOWER         Convert standard input to lower case.
  329.  
  330.         TOUCH           Modify file time and date.
  331.  
  332.         TOUPPER         Convert standard input to upper case.
  333.  
  334.     WC        Count lines, words and characters in a file.
  335.  
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342.                         SUMMARY OF DOSNIX COMMANDS
  343. ------------------------------------------------------------------------------
  344. ~app
  345.  
  346.  
  347.     NAME:
  348.  
  349.     APP     Append standard input to file.
  350.  
  351.  
  352.     SYNTAX:
  353.  
  354.     app  file1 [file2..file5]               Appends standard input to up 
  355.                         to five files.
  356.  
  357.  
  358.  
  359.     DESCRIPTION:
  360.  
  361.       APP is a non-UNIX command meant to replace the DOS ">>" operator.  
  362.     Using ">>" to append files will not remove the CTRL-Z from the end of 
  363.     the first file before appending, but using APP will.  APP can be  used
  364.     with the dos "|" operator and any command which writes to standard 
  365.     output.  For example:
  366.  
  367.                 cat file1 file2 | app file3
  368.  
  369.     appends the output of CAT to file3.  See CAT.
  370.  
  371.                 app < file1 file2     
  372.  
  373.     appends file1 to file2.
  374.  
  375.     WARNING:  Do not use "app < file1 > file2".  This will erase file2.
  376.  
  377.     APP is meant for use with text files only and use with binary files 
  378.     is not recommended.
  379.  
  380.  
  381.  
  382. ~cat
  383.  
  384.  
  385.     NAME:
  386.  
  387.     CAT     Copy text file(s) to standard output.
  388.  
  389.  
  390.     SYNTAX:
  391.  
  392.  
  393.     cat                             Copies standard input to standard 
  394.                     output.
  395.  
  396.     cat file1                       Copies file1 to standard output. 
  397.                     Usually the screen.
  398.  
  399.     cat file1 file2 > file3         Concatenates file1 and file2 and 
  400.                     stores in file3.
  401.  
  402.  
  403.  
  404.  
  405.     DESCRIPTION:
  406.  
  407.       CAT reads one or more files and copies them to STDOUT.  If no input 
  408.     file is given, CAT will read STDIN until a CTRL-Z is found.  For 
  409.     example:
  410.  
  411.                         cat *.c > csource.txt
  412.  
  413.     will concatenate all files with an extension of .C and store
  414.     them in CSOURCE.TXT.
  415.  
  416.                         cat file1 file2 | app file3
  417.  
  418.     concatenates file1 and file2 and appends the result to file3.
  419.  
  420.                         cat > temp
  421.  
  422.     stores whatever is typed on the keyboard in TEMP and is similar to the 
  423.     DOS command COPY CON TEMP.  CTRL-Z can be used to terminate this 
  424.     operation.
  425.  
  426.     Some versions of CAT will copy the CTRL-Z at the end of    each file, 
  427.     leaving you stuck with a lot of unwanted CTRL-Z's in your new file.  
  428.     This version wont.
  429.  
  430.     CAT is meant for use with text files only and use with binary files 
  431.     is not recommended.
  432.  
  433.  
  434.  
  435. ~chmod
  436.  
  437.  
  438.     NAME:
  439.  
  440.     CHMOD   Change attribute(s) of a file.
  441.  
  442.  
  443.     SYNTAX:
  444.  
  445.     chmod [+x] file1                Adds attribute x to file1
  446.  
  447.     chmod [-x] file1                Removes attribute x from file1
  448.  
  449.  
  450.  
  451.     ATTRIBUTES:
  452.  
  453.     +a                              Set archive bit.
  454.     -a                              Clear archive bit.
  455.     +h                              Add hidden attribute.
  456.     -h                              Remove hidden attribute.
  457.     +r                              Add read only attribute.
  458.     -r                              Remove read only attribute.
  459.     +s                              Add system attribute.
  460.     -s                              Remove system attribute.
  461.  
  462.  
  463.  
  464.     DESCRIPTION:
  465.  
  466.       CHMOD is used to modify the attributes of a file.  Attributes can 
  467.     be grouped together in any sequence but each attribute must be 
  468.     preceded by a "+" or a  "-".  For example:
  469.  
  470.                         chmod -a *.*
  471.  
  472.     removes the archive bit from all files in the current directory,
  473.  
  474.                         chmod -a+r list.txt
  475.  
  476.     removes the archive bit and makes LIST.TXT read only,
  477.  
  478.                         chmod +h+s widget.com
  479.  
  480.     makes WIDGET.COM a hidden, system file.
  481.  
  482.  
  483.  
  484. ~clr
  485.  
  486.  
  487.     NAME:
  488.  
  489.     CLR   Set foreground, background and border colors.
  490.  
  491.  
  492.  
  493.     SYNTAX:
  494.  
  495.     clr                Clears screen without resetting 
  496.                     attributes.
  497.  
  498.     clr [-ab] fgnd [bkgnd [brdr]]   Sets screen foreground, background
  499.                     and border colors.
  500.  
  501.  
  502.     OPTIONS:
  503.  
  504.         
  505.     a        ANSI compatible mode.
  506.                 
  507.     b               Set foreground Bold attribute to ON.
  508.  
  509.  
  510.  
  511.     DESCRIPTION:
  512.  
  513.       CLR sets the screen foreground, background and border colors to 
  514.     those specified by the user.  The following colors are supported:
  515.  
  516.         BLACK   RED     GREEN   YELLOW  AMBER
  517.  
  518.         BLUE    MAGENTA CYAN    WHITE
  519.  
  520.     Because yellow is high intensity amber, it is impossible to have a 
  521.     yellow background.  Border colors will vary with the type of monitor.
  522.  
  523.       If only a foreground color is specified the background color 
  524.     defaults to black.  The border color always defaults to the background 
  525.     color.  To change the background color you need to specify the 
  526.     foreground color.  To change the border color you need to specify 
  527.     foreground and background colors.
  528.  
  529.       For ease of use CLR will recognize the first three letters of any 
  530.     color name.  For example:
  531.  
  532.                         clr yel
  533.  
  534.     sets the foreground color to yellow with a black background and border,
  535.  
  536.                         clr whi blu
  537.  
  538.     sets the foreground color to white and the background and border 
  539.     colors to blue, and
  540.  
  541.                         clr red whi red
  542.  
  543.     sets the foreground color to red, the background color to white and 
  544.     the border color to red.
  545.  
  546.  
  547.  
  548.  
  549.  
  550.       The -b option sets the intensity of the foreground color to high.  
  551.     For example:
  552.  
  553.                         clr -b red
  554.  
  555.     sets the foreground color to high intensity red.
  556.  
  557.       If the screen is cleared after using CLR, and ANSI.SYS is not 
  558.     installed, the screen will return to normal. This can be avoided by 
  559.     using CLR without arguments to clear the screen, or by installing 
  560.     ANSI.SYS.
  561.  
  562.       If ANSI.SYS is installed, CLR will detect it and generate the needed 
  563.     escape codes.  A -a option has been provided to force ANSI mode if 
  564.     needed.  
  565.  
  566.  
  567.  
  568.  
  569. ~cp
  570.  
  571.  
  572.     NAME:
  573.  
  574.     CP      Copy file to new file or directory.
  575.  
  576.  
  577.  
  578.     SYNTAX:
  579.  
  580.     cp [-abcfinopst] file1 file2    Copies file1 to file2
  581.  
  582.  
  583.         cp [-abcfinopst] file1 [file2..filen] dir
  584.  
  585.                     Copies any number of files to 
  586.                     directory.
  587.  
  588.         cp [-abcfinopst] dir1 dir2      Copies files in dir1 to dir2.
  589.  
  590.     cp -m source dest1 [dest2..destn]
  591.  
  592.                           Makes multiple copies of source.
  593.                     Destination may  be  either file or
  594.                     directory.
  595.  
  596.  
  597.     OPTIONS:
  598.  
  599.     a               Copy hidden and system files.  Prompt
  600.                         before overwriting protected files.
  601.         b               Copy only files with archive bit set.
  602.         c               Clear archive bits after copying.
  603.         f               Copy hidden and system files.  Overwrite
  604.                         protected files without prompting.
  605.         i               Interactive mode. Prompts before copying.
  606.         m               Make multiple copies of single file.
  607.         n               No delete. Do not overwrite existing files.
  608.         o               Overwrite existing files without prompting.
  609.                         Does not overwrite protected files.
  610.         p               Preserve file attributes when copying.
  611.         s               Copy files without echoing to screen.
  612.         t               Update file time and date when copying.
  613.  
  614.  
  615.  
  616.     DESCRIPTION:
  617.  
  618.       CP copies one or more files to a new file or directory. If more 
  619.     than one source file is specified or wildcards are used, the last  
  620.     argument must specify an existing directory or an error  will  occur. 
  621.     If a directory is used as a source, all files in the directory will 
  622.     be copied but subdirectories will not be copied.
  623.  
  624.  
  625.  
  626.  
  627.  
  628.  
  629.       Each file is echoed to the screen as it is copied and existing  
  630.     files  are not overwritten  without prompting.  If an existing file 
  631.     is protected the user will be notified and prompted a second time 
  632.     before the file is overwritten. Options are provided to override 
  633.     these features when desired.
  634.  
  635.       If a Disk Full error occurs while copying files to a removable 
  636.     device, CP will prompt the user for a new diskette.  The user may 
  637.     either continue, format a new disk or abort at this point.  If a new 
  638.     disk is inserted, CP will create the directory if needed. To format 
  639.     disks, CP needs    to access COMMAND.COM and FORMAT.COM, so set COMSPEC 
  640.     to point to your copy of COMMAND.COM and make sure FORMAT.COM is in a 
  641.     directory pointed to by PATH.
  642.  
  643.       The -i option will prompt the user for a yes or no answer before 
  644.     copying each file.  Used with wildcards or directory names this option 
  645.     provides an interactive method of copying files.
  646.  
  647.       Hidden and system files can be copied using the -a option or the 
  648.     -f option.  If the -f option is used all existing files, even 
  649.     protected files, will be overwritten without prompting the user.
  650.  
  651.       The -o option can be used overwrite existing files but will not 
  652.     overwrite protected files.  If the -n option is used, no files will 
  653.     be overwritten and the user will not be prompted.  The -n option 
  654.     overrides all other options in this respect.
  655.  
  656.       If the -s option is used, files will not be echoed to the screen 
  657.     when copying.  This option can be used with the -o, -f or -n options 
  658.     when no screen output is desired.
  659.  
  660.       Unlike the MV command, file attributes are not carried over and
  661.     the archive bit of the new file is set. The -p option can be used 
  662.     to preserve the attributes of the old file.
  663.  
  664.       In normal use CP will carry over the time and date of the old
  665.     file.  If the -t option is used, the new file will be stamped
  666.     with the current DOS time and date.
  667.  
  668.       CP can be used for backups with the -b option.  When this option 
  669.     is used, only  archive files are copied.  The -c option will clear 
  670.     the archive bit on both files after the copy is made.  For example:
  671.  
  672.             cp -bco *.* a:\
  673.  
  674.     copies only files in the current directory which have not been backed 
  675.     up.  The archive bits are cleared and any previously existing files 
  676.     on drive A are overwritten.
  677.  
  678.       Sometimes it is  necessary to  copy a  file to  several different 
  679.     drives or directories.  CP can be used with the  -m option to make 
  680.     as many copies of a file as needed.
  681.  
  682.  
  683.  
  684. ~cpdir
  685.  
  686.  
  687.     NAME:
  688.  
  689.     CPDIR   copy directory and all subdirectories.
  690.  
  691.  
  692.  
  693.     SYNTAX:
  694.  
  695.     cpdir [-abcfnopst] dir1 dir2    Copies dir1 to dir2.
  696.  
  697.  
  698.     OPTIONS:
  699.  
  700.             a               Copy hidden and system files.  Prompt
  701.                             before overwriting protected files.
  702.             b               Copy only files with archive bit set.
  703.             c               Clear archive bits after copying.
  704.             f               Copy hidden and system files.  Overwrite
  705.                             protected files without prompting.
  706.             n               No delete. Do not overwrite existing files.
  707.             o               Overwrite existing files without prompting.
  708.                             Does not overwrite protected files.
  709.             p               Preserve file attributes when copying.
  710.             s               Copy files without echoing to screen.
  711.             t               Update file time and date when copying.
  712.  
  713.  
  714.  
  715.     DESCRIPTION:
  716.  
  717.       CPDIR copies a complete directory to either a new or existing
  718.     directory.  If the target directory does not exist a new directory 
  719.     will be created.  If the target directory does exist it will be used 
  720.     as the starting point. Note the difference between this and the MVDIR 
  721.     command.  Subdirectories will be created when the files are copied.
  722.  
  723.  
  724.       Options are identical to the the CP command with the exception
  725.     of the -i and -m options which are not used.
  726.  
  727.       If a Disk Full error occurs while copying files to a floppy disk,
  728.     CPDIR will prompt the user for a new diskette.  The user may either 
  729.     continue, format a new disk or abort at this point.  To format disks, 
  730.     CP needs to access COMMAND.COM and FORMAT.COM, so set COMSPEC to point
  731.     to your copy of COMMAND.COM and make sure FORMAT.COM is in a directory 
  732.     pointed to by PATH.  When the new diskette is formatted, CPDIR will 
  733.     create all the necessary directories and continue.
  734.  
  735.  
  736.  
  737.  
  738.  
  739. ~db
  740.  
  741.  
  742.     NAME:
  743.  
  744.     DB      Delete all files except specified files.
  745.  
  746.  
  747.     SYNTAX:
  748.  
  749.     db file1..filen                 Deletes all files in directory
  750.                                                 except specified files.
  751.  
  752.  
  753.     OPTIONS:        None
  754.  
  755.  
  756.  
  757.     DESCRIPTION:
  758.  
  759.       DB will delete all files in a directory except the files given as 
  760.     an argument.  Wildcards can be used in arguments but path names are 
  761.     not supported.  DB can only be used in the current directory.  For 
  762.     example:
  763.  
  764.                         db *.zip
  765.  
  766.     will delete all files that do not have an extension of .ZIP and, 
  767.     in fact, DB is an excellent tool for cleaning up around ZIP files 
  768.     and other archives.
  769.  
  770.       DB works by assigning a +h attribute to the specified files and 
  771.     then removing all normal files.  The remaining files are then 
  772.     "unhidden".  This can cause a problem  with previously existing 
  773.     hidden files.  If DB encounters any hidden files it, will safely 
  774.     abort leaving the directory unchanged.  You will then have to use RM.
  775.  
  776.         WARNING: DB can be a deadly weapon if used carelessly.  Use it only 
  777.     when you are sure of what you are doing.
  778.  
  779.  
  780.  
  781.  
  782. ~edc
  783.  
  784.  
  785.     NAME:
  786.  
  787.     EDC    Easy Directory Change.
  788.  
  789.  
  790.     SYNTAX:
  791.  
  792.     edc [-klmnqrst] [d:]dir1        Changes directory to dir1.
  793.  
  794.  
  795.  
  796.     OPTIONS:
  797.  
  798.         k  Do not pause when screen is full.
  799.         l  Scan drive and list directories.
  800.         m  Create directory and update path file.
  801.         n  Display directory tree without graphics.
  802.         r  Remove directory and update path file.
  803.         s  Scan drive. No screen output.
  804.         t  Display directory tree with graphics.
  805.         q  Quick scan.  Do not look for extensions.
  806.  
  807.  
  808.  
  809.     DESCRIPTION:
  810.  
  811.  
  812.       EDC allows you to change directories by entering only the directory 
  813.     name rather than the whole path name.  For example, if you have a 
  814.     directory  named \MODEM\FILES\ZIP you can reach the directory 
  815.     from anywhere on your drive by entering:
  816.  
  817.             edc zip
  818.  
  819.     instead of:
  820.  
  821.             cd \modem\files\zip
  822.  
  823.         If  EDC finds  more than one directory with the same name, it will 
  824.     display all directories found and  prompt you  to choose one.
  825.  
  826.  
  827.     EDC can also find directories if given just the first few letters of  
  828.     the name.  If  you  have a directory named \GAMES\POKER\BIGDECK, 
  829.     entering:
  830.  
  831.             edc big
  832.  
  833.     will  find it.
  834.  
  835.  
  836.  
  837.  
  838.  
  839.  
  840.       To change to a directory on a different  drive, enter the drive spec 
  841.     and the directory name with no space or slash between them.  For 
  842.     example if you are currently using drive C and you wish to change  
  843.     to D:\GAMES\BOARD\CHECKERS you can enter:
  844.  
  845.             edc d:checkers
  846.         or
  847.  
  848.             edc d:check
  849.  
  850.     A drive spec can now be terminated by a semicolon as well as a colon.
  851.     This allows you to change drives without hitting the shift key.
  852.  
  853.  
  854.       To install EDC, copy EDC.EXE to the root directory of your boot 
  855.     drive or to any directory pointed  to by the DOS PATH parameter. 
  856.     Then enter:
  857.  
  858.             edc -s
  859.  
  860.        EDC will scan your disk drive for directories and store    them in a 
  861.     file named  PATH.EDC .  Because EDC refers to this file to find 
  862.     directories, it should remain in the root  directory of  your drive  
  863.     at all times. 
  864.  
  865.  
  866.           EDC needs to  have a unique copy of  PATH.EDC in the root directory 
  867.     of every drive with which it is used.  To scan other drives you can 
  868.     enter:
  869.  
  870.             edc -s d:
  871.  
  872.     where "d" is the letter of the drive you are scanning. If you
  873.     are using EDC with floppy disks it is sometimes more convenient to 
  874.     scan and change  the  directory in one step.  For example:
  875.  
  876.             edc -s a:text
  877.  
  878.     will  scan the  floppy disk in drive A and  change to a directory 
  879.     named TEXT.
  880.  
  881.       If a full path name or one of the standard  DOS directory symbols 
  882.     ("\",  "." or "..") is given, EDC will change directories immediately
  883.     without checking PATH.EDC.
  884.  
  885.       If the -t option is used, EDC will display the directory tree 
  886.     on your screen while it    is scanning.  For redirection to non-IBM
  887.     printers, the -n option will display the directory tree without
  888.     using graphics characters.  The -l option will display a list of 
  889.     directories instead of a tree.  The screen will pause after displaying 
  890.     each page of information unless the -k option is used.
  891.  
  892.  
  893.  
  894.  
  895.  
  896.  
  897.       If none of your directory names have extensions you can use
  898.     the -q option with any of the above options for quicker scans.
  899.     For example:
  900.  
  901.             edc -sq    or    edc -tq
  902.  
  903.  
  904.        The -m and -r options can be used to create and remove directories.
  905.     Rules for path names are the same as for DOS and PATH.EDC will be 
  906.     updated after each change.  If other commands are used to create
  907.     and remove directories you will have to rescan the affected drive.
  908.  
  909.  
  910.  
  911.  
  912.  
  913. ~ffind
  914.  
  915.  
  916.     NAME:
  917.  
  918.     FFIND   Find all copies of file in specified path.
  919.  
  920.  
  921.     SYNTAX:
  922.  
  923.     ffind [-abdfiklmnr?] [path] filename    Finds all files in path with
  924.                             the same name.
  925.  
  926.     ffind -e "command {}" [path] filename   Executes DOS command when each
  927.                         file is located.
  928.  
  929.     OPTIONS:
  930.  
  931.     a               Include hidden and system files in search.
  932.         b               Batch mode, disable warning prompt.
  933.         d               Include directories in search.
  934.     e        Execute DOS command.
  935.         f               Include floppy drives in search.
  936.         i               Remove files interactively.
  937.     k        No highlights or screen pauses.
  938.         l               Display in long format, showing
  939.                         attributes, size, time and date.
  940.         m               Display totals for each directory.
  941.     n        Display output in lower case.
  942.         r               Remove files when found.
  943.         ?               Display help screen.
  944.  
  945.  
  946.  
  947.     DESCRIPTION:
  948.  
  949.       FFIND will search the specified path for all copies of a given 
  950.     file.  "path" should be a valid directory name or drive spec. If 
  951.     "path" is omitted the search will begin from the root directory of 
  952.     the current drive.  If "*:" is used for a path FFIND will search all 
  953.     available hard drives. Wild cards can be used in file names and all 
  954.     subdirectories will be searched. For example:
  955.  
  956.                 ffind *.bak
  957.         or
  958.                 ffind \ *.bak
  959.  
  960.         will search the entire current drive for all files named with
  961.         an extension of .BAK.
  962.  
  963.                 ffind d: temp
  964.  
  965.         will search all of drive D for all files named TEMP,
  966.  
  967.                 ffind *: temp
  968.  
  969.         will search all hard drives for all files named TEMP, and
  970.  
  971.  
  972.  
  973.  
  974.  
  975.  
  976.         ffind \games poker.exe
  977.  
  978.         will search the directory \GAMES and all subdirectories for all files 
  979.     named POKER.EXE.
  980.  
  981.  
  982.       The -r option will delete files when found.  For example:
  983.  
  984.         ffind -r c:\ *.bak
  985.  
  986.     will search drive c for all files with an extension of .BAK and 
  987.     remove them.  The -i option is similar to the -r option except that 
  988.     the user is prompted before each file is removed.  The -r option 
  989.     provides an initial warning prompt before execution.  If you ever 
  990.     type "-r" when you really  meant to type "-l" you will appreciate 
  991.     the need for this.  The -b option will override this feature for 
  992.     unattended batch file operation.  This option is intended for use in
  993.     batch files only.  Don't use it from the keyboard, or some day you 
  994.     will type in "ffind -rb" when you least intend to.  
  995.  
  996.       FFIND will locate hidden and system files with the -a option  but 
  997.     the -r option cannot be used to remove protected files.  Use the -i 
  998.     option to remove these files.
  999.  
  1000.           The -l option can be used to display complete information on each 
  1001.     file located and the -k option will disable highlights and screen
  1002.     pauses, allowing the output to be redirected.
  1003.  
  1004.       The -m option will display the total number of matching files in 
  1005.     each directory along with the total number of bytes used.  For 
  1006.     example:
  1007.  
  1008.         ffind -almk c:\ *.* > disk.map
  1009.  
  1010.     will create a complete usage map of the user's hard disk and store 
  1011.     it in DISK.MAP.
  1012.  
  1013.       When "*:" is used as a drive spec, FFIND will ignore floppy drives 
  1014.     unless the -f option is used.  This eliminates the annoying wait
  1015.     on empty floppy drives.  Floppy drives can still be searched
  1016.     directly without using the -f option.
  1017.  
  1018.       A semicolon can now be used to terminate a drive spec in place
  1019.     of a colon.  In addition FFIND will consider ";;" equivalent to
  1020.     "*:" and search all drives.  These modifications save a few
  1021.     key strokes.
  1022.  
  1023.     NOTE: FFIND uses the MSDOS LASTDRIVE parameter to determine the 
  1024.     number of available drives. If FFIND attempts to search non-existent 
  1025.     drives insert the following line in CONFIG.SYS:
  1026.  
  1027.             LASTDRIVE = x
  1028.  
  1029.         where x is the letter of your last logical drive.
  1030.  
  1031.  
  1032.  
  1033.  
  1034.  
  1035.       FFIND now has a -e option which will cause the program to shell 
  1036.     to DOS and execute a command whenever a file is located.  The name 
  1037.     of the located file can be parsed into the command argument by 
  1038.     inserting a pair of braces wherever you want the file to be used.  
  1039.     For example:
  1040.  
  1041.             ffind -e "pkunzip {}" *.zip
  1042.  
  1043.     would unzip all the ZIP files on the current drive.  If a null
  1044.     argument is used,  FFIND will shell to DOS in the directory in
  1045.     which the file is located, giving you an opportunity to do
  1046.     whatever you want.  For example:
  1047.  
  1048.                 ffind -e "" test.txt
  1049.  
  1050.     The power of this option is limited only by your imagination.
  1051.  
  1052.  
  1053.  
  1054.  
  1055.  
  1056.  
  1057. ~get
  1058.  
  1059.  
  1060.     NAME:
  1061.  
  1062.     GET     Find all file names containing specified string.
  1063.  
  1064.  
  1065.     SYNTAX:
  1066.  
  1067.     get [-adfl?] [path] string       Finds all files in path having
  1068.                                         string as part of file name.
  1069.  
  1070.  
  1071.     OPTIONS:
  1072.  
  1073.     a               Include hidden and system files in search.
  1074.         d               Include directories in search.
  1075.     f        Include floppy drives in search.
  1076.         l               Display in long format, showing attributes, size, 
  1077.             time and date.
  1078.         ?               Display help screen.
  1079.  
  1080.  
  1081.  
  1082.     DESCRIPTION:
  1083.  
  1084.       GET will search the specified path for all files having the 
  1085.     specified string as part of the file name.  If an extension is 
  1086.     provided GET will locate only files with that extension, otherwise 
  1087.     GET will locate all files regardless of extension.  For example:
  1088.  
  1089.                         get modem
  1090.  
  1091.         will locate QMODEM.DOC, JMODEM.ZIP and MODEMS.TXT.
  1092.  
  1093.                         get ted.zip
  1094.  
  1095.         will locate TED.ZIP and TED12.ZIP but will ignore TED.COM.
  1096.  
  1097.       GET will locate hidden and system files with the -a option and
  1098.     the -l option can be used to display complete information on each 
  1099.     file located.  The -d option can be used to locate directories.  
  1100.     There are no options to remove files.  
  1101.  
  1102.       The "path" specification is identical to the FFIND command.  If 
  1103.     you are searching all drives, the output of GET can be quite long.  
  1104.     Try piping it to READ.  For example:
  1105.  
  1106.                          get *: modems | read -f
  1107.  
  1108.  
  1109.  
  1110.  
  1111.  
  1112. ~ls
  1113.  
  1114.  
  1115.     NAME:
  1116.  
  1117.     LS      List contents of directory.
  1118.  
  1119.  
  1120.     SYNTAX:
  1121.  
  1122.       ls [-124acdefklnprtuxz?] [dir1]..[dirn]   Displays contents of dir1..dirn
  1123.  
  1124.       ls [-124acdefklnprtuxz?] [fil1]..[filn]   Lists fil1..filn
  1125.  
  1126.  
  1127.  
  1128.     OPTIONS:
  1129.  
  1130.     1               Display one entry per line.
  1131.     2        Display two entries per line with size and date.
  1132.     4        Display four entries per line showing size only.
  1133.         a               Display hidden and system files.
  1134.         c               Display files sorted down each column.
  1135.     d        Display file totals and free disk space. 
  1136.         e               Sort file names by extension.
  1137.         f               Display files only. Omit directories.
  1138.         k               Do not pause when screen is full.
  1139.         l               Display files in long format, showing
  1140.                         name, attributes, size, time and date.
  1141.     n        Display file names in lower case.
  1142.         p               Put a back slash after each subdirectory.
  1143.         r               Reverse order of sort.
  1144.         t               Sort files by time and date.
  1145.         u               Do not sort files.
  1146.     x        Display files sorted across screen.
  1147.     z        Sort files by size.
  1148.         ?               Display help screen.
  1149.  
  1150.  
  1151.  
  1152.     DESCRIPTION:
  1153.  
  1154.       LS displays the contents of a directory sorted across the screen 
  1155.     in five columns.  The arguments can be either files or directories. 
  1156.     If wildcards are used, all matching files will be listed.  Multiple
  1157.     arguments are accepted and more than one directory can be displayed.
  1158.     If no arguments are used, the contents of the current directory will
  1159.     be displayed.  If no options are used, -xpd will be assumed and file 
  1160.     totals will be displayed at the bottom of the listing.
  1161.  
  1162.           The -x option will display files sorted across the screen and
  1163.     is used in the default mode. The -c option will display files sorted 
  1164.     down each column rather than across each row.  If the  -1 (one) option 
  1165.     is used, one entry per line is displayed showing only the file name.
  1166.  
  1167.  
  1168.  
  1169.  
  1170.  
  1171.  
  1172.       If the -l option is used, one entry per line is displayed, showing 
  1173.     name, attributes, size of file in bytes, and time and date of last 
  1174.     modification.  A modified DOS format is used which is more readable 
  1175.     than the standard UNIX format.  Attributes displayed in this format 
  1176.     are:
  1177.  
  1178.                         <DIR>           Subdirectory.
  1179.                         A               Archive bit is set.
  1180.                         R               File is read only.
  1181.                         H               File is hidden.
  1182.                         S               File is system.
  1183.  
  1184.     At the  end of each display the size of the directory in bytes is
  1185.     shown. The size of any subdirectories is not included in this figure.
  1186.     Also shown is the remaining disk space.
  1187.  
  1188.       LS now has two new display formats.  The -2 option will display
  1189.     two entries per line showing file size and date and the -4 option
  1190.     will display four entries per line showing size only.  In these
  1191.     two modes the files are sorted down each column.  The -x option
  1192.     can be combined with either of these options to display files
  1193.     sorted horizontally.
  1194.  
  1195.  
  1196.           LS will pause after displaying one page of information. Typing "q" 
  1197.       at this point will terminate the program. Typing any other key will  
  1198.     continue the display.  The -k option will suppress this feature and 
  1199.     provide a continuous output which can be  redirected.  In addition,
  1200.     the -k option will eliminate any graphics characters, allowing the
  1201.     output to be redirected to a non-IBM printer.
  1202.  
  1203.  
  1204.       If the -a option is used, any hidden or system files contained in 
  1205.     the directory are also displayed.  The -f option will display file
  1206.     names only and omit any subdirectories.  The -p option will append a 
  1207.     back slash  to the end of each subdirectory name, allowing the user 
  1208.     to distinguish between files and  subdirectories.  This option will
  1209.     not work with the -l option.  
  1210.  
  1211.  
  1212.       The -t option will will sort files by time and date and can be used 
  1213.     with the -r option to display newest files first.  The -e option 
  1214.     will sort file names by extension and the -u option will provide 
  1215.     unsorted output if so desired.
  1216.  
  1217.  
  1218.       The -d option can be used to to display file totals at the end
  1219.     of each directory and the -n option will provide lower case output 
  1220.     if needed.
  1221.  
  1222.  
  1223.  
  1224.  
  1225.  
  1226.       LS can  be custom configured by setting the environment
  1227.     variable "LSCFG" to the desired options.  For example:
  1228.  
  1229.             set lscfg=le
  1230.  
  1231.     will cause LS to default to the long format, with files sorted by 
  1232.     extension, unless an option is specified on the command line. 
  1233.  
  1234.  
  1235.       LS is now EDC compatible.  If EDC is installed, LS will accept 
  1236.     partial directory names. LS will first look for an immediate directory
  1237.     with the specified name.  If no directory is found it will check 
  1238.     PATH.EDC for any matches.  If no matches are found it will then check
  1239.     for a file with the given name.  When using this feature the user is
  1240.     limited to one argument.  If more than one directory is specified on 
  1241.     the command line, PATH.EDC will not be searched.  This feature has 
  1242.     been made invisible so that LS can still be used as a stand-alone 
  1243.     directory lister.  As a result no error messages relating to EDC or 
  1244.     PATH.EDC will be displayed.
  1245.  
  1246.  
  1247.           This version of LS will not recursively list subdirectories but 
  1248.     the FFIND command can be used to obtain the same result.  For
  1249.     example:
  1250.  
  1251.         ffind -lm dirname *.*
  1252.  
  1253.         ffind -lm . *.*
  1254.  
  1255.  
  1256.  
  1257. ~mv
  1258.  
  1259.  
  1260.     NAME:
  1261.  
  1262.     MV      Move file(s) to new file or directory.
  1263.  
  1264.  
  1265.     SYNTAX:
  1266.  
  1267.     mv [-afnost?] file1 file2       Moves (renames) file1 to file2.
  1268.  
  1269.     mv [-afnost?] file1 [file2..filen] dir1
  1270.  
  1271.                     Moves any number of files to dir1.
  1272.  
  1273.     mv dir1 dir2                    Renames dir1 to dir2. dir1 and dir2 
  1274.                     must be in the same parent directory.
  1275.  
  1276.  
  1277.     OPTIONS:
  1278.  
  1279.     a               Move read only, hidden and system files.
  1280.                         Prompt before overwriting protected files.
  1281.         f               Move and overwrite all files without prompting.
  1282.         i               Interactive mode. Prompt before moving.
  1283.         n               No delete. Do not overwrite existing files.
  1284.         o               Overwrite existing files without prompting.
  1285.         s               Move files without echoing to screen.
  1286.         t               Update file time and date when moving.
  1287.         ?               Display help screen.
  1288.  
  1289.  
  1290.     DESCRIPTION:
  1291.  
  1292.       MV moves one or more files to a new file or directory. If more than 
  1293.     one source file is specified or wildcards are used, the last argument
  1294.     must  specify  an existing directory or an error will occur.  If a 
  1295.     directory is used as a source, all files in the directory will be
  1296.         moved but subdirectories will not be moved.
  1297.  
  1298.       Each file is echoed to the screen as it is moved and existing files
  1299.     are not overwritten  without prompting.  If an existing file is 
  1300.     protected the user will be notified and prompted a second time before 
  1301.     the file is overwritten. Options are provided to override these 
  1302.     features when desired.
  1303.  
  1304.       The -i option will prompt the user for a yes or no answer before 
  1305.     moving each file.  Used with wildcards or directory names this option 
  1306.     provides an interactive method of moving files.
  1307.  
  1308.  
  1309.  
  1310.  
  1311.       In normal use MV, ignores hidden and system files and prompts
  1312.     the user before moving read only files. Hidden and system files can 
  1313.     be moved using the -a option or the -f option.  The -a option will 
  1314.     move read only, hidden and system files without prompting but will 
  1315.     still prompt the user before overwriting protected files. If the -f 
  1316.     option is used all existing files, even protected files, will be 
  1317.     overwritten without prompting the user.
  1318.  
  1319.       The -o option can be used overwrite existing files without
  1320.     prompting but will not overwrite protected files.  If the -n option
  1321.         is used, no existing files will be overwritten and the user will not
  1322.         be prompted.  The -n option overrides all other options in this 
  1323.     respect.
  1324.  
  1325.       If the -s option is used, filenames will not be echoed to the 
  1326.     screen when moving.  This option can be used with the -o, -f or -n 
  1327.     options when no screen output is desired.
  1328.  
  1329.       In normal use MV will carry over the time and date of the old file.
  1330.     If the -t option is used, the new file will be stamped with the 
  1331.     current DOS time and date. Unlike the CP command, MV will also carry 
  1332.     over the attributes of the old file.
  1333.  
  1334.  
  1335.  
  1336.  
  1337. ~mvdir
  1338.  
  1339.  
  1340.     NAME:
  1341.  
  1342.     MVDIR   Move directory and all subdirectories to new location.
  1343.  
  1344.  
  1345.     SYNTAX:
  1346.  
  1347.     mv dir1 dir2                    Moves dir1 to dir2
  1348.  
  1349.  
  1350.  
  1351.     OPTIONS:
  1352.  
  1353.     s               Move files without echoing to screen.
  1354.         ?               Display help screen.
  1355.  
  1356.  
  1357.  
  1358.     DESCRIPTION:
  1359.  
  1360.       MVDIR will move a directory and all its subdirectories to the 
  1361.     specified target. If the target directory does not exist a new 
  1362.     directory will be created. If the target directory does exist a 
  1363.     directory will be created within the target directory having the 
  1364.     same name as the old directory.
  1365.  
  1366.       MVDIR has three modes of operation totally independent of user 
  1367.     input.  If both old and new directories are in  the same parent 
  1368.     directory, MVDIR will rename the old directory.  If old and new 
  1369.     directories are not in the same parent directory but reside on the 
  1370.     same drive, MVDIR will create the new directory structure, rename 
  1371.     the files and then remove the old directory. If old and new directories
  1372.         reside on different drives MVDIR will create the new directory 
  1373.     structure, copy the files over and then remove the old files and 
  1374.     directories.  If an error occurs in this last mode, such as a disk 
  1375.     full error, MVDIR will abort and leave the old directory intact.
  1376.  
  1377.  
  1378.  
  1379. ~read
  1380.  
  1381.  
  1382.     NAME:
  1383.  
  1384.     READ      Display text in page format.
  1385.  
  1386.  
  1387.     SYNTAX:
  1388.  
  1389.     read [-f][+#]                         Displays standard input one page 
  1390.                         at a time.
  1391.  
  1392.         read [+#][+\string] file1..filen    Displays contents of files  one 
  1393.                         page at a time.
  1394.  
  1395.  
  1396.     OPTIONS:
  1397.  
  1398.     -f              Store standard input in temporary file
  1399.                          before displaying.
  1400.  
  1401.         +###            Begin displaying at line ###.
  1402.  
  1403.     +\string    Begin displaying at first occurrence of string.
  1404.  
  1405.  
  1406.  
  1407.     DESCRIPTION:
  1408.  
  1409.       READ is a text file viewer which can read from STDIN like the
  1410.     DOS MORE command, or directly from a file.  For example:
  1411.  
  1412.             read < dosnix.doc
  1413.  
  1414.     and
  1415.  
  1416.             read dosnix.doc
  1417.  
  1418.     will both display DOSNIX.DOC.  Wild cards and multiple arguments
  1419.     can be used to view several files in sequence.  For example:
  1420.  
  1421.             read *.doc
  1422.  
  1423.     can be used to page through all .DOC files, and
  1424.  
  1425.             read whats.new quickref.doc
  1426.  
  1427.     will first read WHATS.NEW, then QUICKREF.DOC.
  1428.       
  1429.  
  1430.       When READ begins, it will display one page of text and then pause. 
  1431.     The user can then enter one of the following commands:
  1432.  
  1433.                 <space>         Toggle continuous scroll.
  1434.  
  1435.                 <PgDn>          Clear screen and display next page.
  1436.  
  1437.                 ^D, D, ]      Display next half page of text.
  1438.  
  1439.  
  1440.  
  1441.  
  1442.  
  1443.                 Enter or        Display next line of text.
  1444.                 Down Arrow
  1445.  
  1446.                 <PgUp>, ^B      Clear screen and display previous page.
  1447.  
  1448.                 ^U, U,  [       Move back one half page.
  1449.  
  1450.         Up Arrow    Move back one line.
  1451.  
  1452.         Right Arrow    Shift screen one tab stop right.
  1453.  
  1454.         Left Arrow    Shift screen one tab stop left.
  1455.  
  1456.                 H, Backspace    Display help page.
  1457.  
  1458.                 ^L, .           Rewrite current page.
  1459.  
  1460.                 Home            Move to beginning of file.
  1461.  
  1462.                 End or $        Move to end of file.
  1463.  
  1464.                 N             Display next file.
  1465.  
  1466.         P         Return to previous file.
  1467.  
  1468.         \        Search text for string.  Ignore case.
  1469.  
  1470.         |        Search text for string.  Match exact case.
  1471.  
  1472.         /        Search text for next occurrence of string.
  1473.  
  1474.                 -###            Move back ### lines.
  1475.  
  1476.                 +###            Move forward ### lines.
  1477.  
  1478.                 ###             Move to line number ###.
  1479.  
  1480.                 Q, Esc             Terminate the program.
  1481.  
  1482.  
  1483.  
  1484.       The escape key can be used to interrupt text searches and exit
  1485.     the help screen.  It will also terminate the program from the main
  1486.     menu.  F10 or Del can be used in place of Esc and  ^PgUp and ^PgDn
  1487.     can be used in place of Home and End.
  1488.  
  1489.       The number of the top line is displayed on the menu bar unless 
  1490.     the end of file message is visible, then the line number displayed 
  1491.     will be the last line of the file.  Unless the file is very small, 
  1492.     you can use PgUp to realign the last page and get rid of the message. 
  1493.  
  1494.       If the number keys are used to go to a line already on the screen, 
  1495.     the screen will scroll until the line is at the top.  Otherwise the 
  1496.     screen will clear and a new page will be displayed.  
  1497.  
  1498.  
  1499.  
  1500.  
  1501.  
  1502.       READ now has a unique method of utilizing the space bar.  
  1503.     Instead of displaying one page of text and halting, pressing 
  1504.     the spacebar will cause the text to scroll until the spacebar
  1505.     is pressed again.  This allows you to halt the display at any
  1506.     desired position.  The scroll rate can be adjusted by pressing 
  1507.     the up and down arrows while the text is moving.  
  1508.  
  1509.       Don't try to control the text with the arrow keys.  Use
  1510.     them to adjust the scroll rate then control the text with the 
  1511.     spacebar.
  1512.  
  1513.       From the main menu you can still use the arrow keys to scroll
  1514.     up and down.  Because READ resets the file pointer on any backward
  1515.     movement, using the up arrow for continuous scrolling can cause
  1516.     a lot of drive thrashing with fragmented files.  It is best used
  1517.     for small adjustments of the page. 
  1518.  
  1519.  
  1520.       Text searches can be done by typing a "\" or a "|".  You will then 
  1521.     be prompted to enter a search string.  READ will begin displaying ten 
  1522.     lines before the line containing the search string and the matching 
  1523.     line will be highlighted.  The "\" command will ignore differences 
  1524.     between upper and lower case.  The "|" command will find only strings
  1525.     having the exact case as the search string.  Typing a "/" will find
  1526.     the next occurrence of the string and will work with either of the
  1527.     two previous commands. Searches can not be done when reading from 
  1528.     standard input.
  1529.  
  1530.       If +\string is used as an option, READ will search the first 
  1531.     occurrence of "string" before displaying.  For example:
  1532.  
  1533.             read +\ffind dosnix.doc
  1534.  
  1535.     will scan DOSNIX.DOC for the first occurrence of "ffind" and
  1536.     begin displaying ten lines before the first matching line.
  1537.  
  1538.       Case sensitive searches can also be initiated from the command
  1539.     line.  Because "|" is a DOS operator it will be necessary to put
  1540.     the argument in quotes.  For example:
  1541.  
  1542.         read "+|FFIND" dosnix.doc
  1543.  
  1544.       READ can handle files containing up to 10,000 lines although text
  1545.     searches can be very slow on large files.
  1546.  
  1547.  
  1548.  
  1549.  
  1550.  
  1551.  
  1552.       When +### is used as an option, READ will begin displaying at 
  1553.     whatever line number is given after the plus sign.  For example:
  1554.  
  1555.         read +300 dosnix.doc
  1556.  
  1557.     will begin displaying at line 300.
  1558.  
  1559.  
  1560.       Output from other programs can be piped to READ using the "|"
  1561.         operator.  When displaying redirected input, search and    back scroll 
  1562.     commands are not available and lines longer than 80 columns will be 
  1563.     wrapped.  A '-f' option has been provided which will dump redirected 
  1564.     input into a temporary file before reading, making the full range of 
  1565.     commands available.  For example:
  1566.  
  1567.                         ffind -m c:\ *.* | read -f
  1568.  
  1569.         will allow the user to page through the output of FFIND which in 
  1570.     this case is a complete list of files on drive C.
  1571.  
  1572.  
  1573.       Typing "read" by itself with no arguments will echo whatever is
  1574.     typed on the keyboard.  This is also true for CAT and other 
  1575.     commands which are capable of reading STDIN.  This can be confusing  
  1576.     for novice users.  To get out of this mode type CTRL-Z followed
  1577.     by a carriage return.
  1578.  
  1579.  
  1580.  
  1581.  
  1582. ~rm
  1583.  
  1584.  
  1585.     NAME:
  1586.  
  1587.     RM      Remove file(s).
  1588.  
  1589.  
  1590.     SYNTAX:
  1591.  
  1592.     rm [-fis] file1...filen        Removes files.
  1593.  
  1594.     rm -r[fis] dir1..dirn          Completely removes directories.
  1595.  
  1596.  
  1597.  
  1598.     OPTIONS:
  1599.  
  1600.     f               Remove protected files without prompting.
  1601.         i               Remove files interactively.
  1602.         r               Recursively remove subdirectories.
  1603.         s               Remove files without echoing to screen.
  1604.  
  1605.  
  1606.  
  1607.  
  1608.     DESCRIPTION:
  1609.  
  1610.       RM is the UNIX equivalent of the MSDOS DEL command.  If a protected 
  1611.     file is specified, RM will prompt you before removing it unless the
  1612.     -f option is used.  This version of RM will display each filename as
  1613.     it is removed.  You can use the  -s option to override this feature.
  1614.  
  1615.       The -i option can be used with wildcards to allow you to pick 
  1616.     and choose which files will be removed. For example:
  1617.  
  1618.                         rm -i *.*
  1619.  
  1620.     will display each filename in the current directory and prompt you
  1621.     for a yes or no answer before deleting.
  1622.  
  1623.       The -r option is used to remove directories.  A directory cannot 
  1624.     be removed unless this option is used.  The directory along with all 
  1625.     files and subdirectories will be completely removed.  If you are using 
  1626.     RM to remove a directory on another drive, make sure that the drive is
  1627.     not logged in to the directory you are removing.  RM cannot remove the
  1628.         current directory of any drive.  
  1629.  
  1630.       If the root directory of any drive is specified, all files and
  1631.     directories on the drive will be removed.  The root directory itself 
  1632.     can not be removed.  For example:
  1633.  
  1634.             rm -r a:\
  1635.  
  1636.     will remove everything on drive A.  RM is a great tool for erasing
  1637.     floppy disks but it is also capable of wiping out your hard disk.
  1638.     Use it with care.
  1639.  
  1640.       RM will now accept multiple arguments, making it easier to clean
  1641.     up directories.  It is okay to mix file    names and directory names as 
  1642.     long as the -r option is used.
  1643.  
  1644.  
  1645.  
  1646. ~rn
  1647.  
  1648.  
  1649.     NAME:
  1650.  
  1651.     RN      Rename file or directory.
  1652.  
  1653.  
  1654.     SYNTAX:
  1655.  
  1656.  
  1657.     rn oldfile newfile              Renames oldfile to newfile.
  1658.     rn oldfile dir                  Relocates oldfile to dir.
  1659.         rn olddir  newdir               Renames olddir to newdir.
  1660.  
  1661.  
  1662.  
  1663.     OPTIONS: none
  1664.  
  1665.  
  1666.  
  1667.  
  1668.     DESCRIPTION:
  1669.  
  1670.       RN is similar to the MV command but is much more limited in scope.  
  1671.     Only one file or directory can be renamed at a time and wild cards 
  1672.     are not permitted.  Files can not be  relocated to another drive and 
  1673.     directories can only be renamed within the parent directory.  Because 
  1674.     of its small size, RN is very useful for floppy drive systems where
  1675.     space is limited.
  1676.  
  1677.  
  1678.  
  1679. ~sgrep
  1680.  
  1681.  
  1682.     NAME:
  1683.  
  1684.     SGREP    Search text file(s) for specified string. 
  1685.  
  1686.  
  1687.     SYNTAX:
  1688.  
  1689.  
  1690.     sgrep [-chilnv] string file1...filen
  1691.  
  1692.                     Searches file1..filen for string.       
  1693.  
  1694.         sgrep [-cinv] string        Searches STDIN for string.    
  1695.  
  1696.  
  1697.  
  1698.  
  1699.     OPTIONS:
  1700.  
  1701.     -c          Print only a count of matching lines.
  1702.     -h          Do not print file names.
  1703.     -i          Ignore differences between upper and lower case.
  1704.         -l          Print only the names of files with matching lines.
  1705.         -n          Print line numbers of matching lines.
  1706.         -v          Print only lines that don't match.
  1707.  
  1708.  
  1709.     DESCRIPTION:
  1710.  
  1711.       SGREP is a simplified version of the UNIX FGREP command and
  1712.     is similar to the MSDOS FIND command.  SGREP will search one
  1713.     or more files for a specified text string and display each
  1714.     line in which the string is found. Unlike FIND, SGREP will
  1715.     accept wild cards and multiple arguments as filenames.  It
  1716.     is not necessary to enclose the search string in quotes unless
  1717.     it contains a space.  For example:
  1718.  
  1719.         sgrep Zmodem rta.log
  1720.  
  1721.     will find all references to Zmodem in RTA.LOG and
  1722.  
  1723.         sgrep "File Express" rta.log
  1724.  
  1725.     will find all references to File Express.
  1726.  
  1727.       A -i option has been provided to ignore case differences
  1728.     when searching.  For example:
  1729.  
  1730.         sgrep -i zmodem rta.log
  1731.  
  1732.     will locate all references to ZMODEM, zmodem or Zmodem.
  1733.  
  1734.  
  1735.  
  1736.         
  1737.       If more than one file is being searched, SGREP will precede
  1738.     each line displayed with the name of the file in which it is
  1739.     found.  The -h option will suppress this feature.  The -n option
  1740.     will display the number of each line.  For example:
  1741.  
  1742.         sgrep -n Zmodem *.log
  1743.  
  1744.     will display each line containing "Zmodem" preceded by the name
  1745.     of the file and the number of the line, while
  1746.  
  1747.         sgrep -h Zmodem *.log
  1748.  
  1749.     will display only lines containing "Zmodem" with no file name or
  1750.     line number.
  1751.         
  1752.         If the -n option is used SGREP will display only the names of
  1753.     files containing matching lines.  The -c option is similar but
  1754.     will also give a count of matching lines.  The -v option displays
  1755.     lines that do NOT match the search string.
  1756.  
  1757.  
  1758.  
  1759.  
  1760.  
  1761. ~split
  1762.  
  1763.  
  1764.     NAME:
  1765.  
  1766.     SPLIT    Split a text file into several smaller files. 
  1767.  
  1768.  
  1769.     SYNTAX:
  1770.  
  1771.  
  1772.     split [-###]            Splits standard input into
  1773.                     several small files.
  1774.  
  1775.     split [-###] file        Splits file into smaller files.
  1776.  
  1777.  
  1778.  
  1779.     OPTIONS:
  1780.  
  1781.     -###        Set output file size to ### lines.
  1782.  
  1783.  
  1784.  
  1785.  
  1786.     DESCRIPTION:
  1787.  
  1788.       SPLIT will divide a text file into smaller files of 1000 lines each.  
  1789.     If a smaller or larger output file size is desired, the number of 
  1790.     lines can be specified as an option.  Output files are named by adding
  1791.     extensions of .XAA, .XAB, etc. to the source file name.  When reading 
  1792.     from standard input output files are named XAA, XAB, etc.  For example:
  1793.  
  1794.             split -500  dosnix.doc
  1795.  
  1796.     will divide DOSNIX.DOC into files of 500 lines each named DOSNIX.XAA, 
  1797.     DOSNIX.XAB, DOSNIX.XAC .... , while
  1798.  
  1799.             cat dosnix.doc | split -250
  1800.  
  1801.     will divide DOSNIX.DOC into files of 250 lines each named XAA, XAB, 
  1802.     XAC ....  This allows for up to 676 output files although it is not 
  1803.     wise to split up a file into that many pieces.  Files can be re-
  1804.     assembled after editing, or other modifications, by using CAT.
  1805.  
  1806.  
  1807.  
  1808.  
  1809.  
  1810. ~tee
  1811.  
  1812.  
  1813.     NAME:
  1814.  
  1815.     TEE     Copy standard input to standard output and file(s).
  1816.  
  1817.  
  1818.     SYNTAX:
  1819.  
  1820.     tee [-a] file1 [file2]..[file5]         Copies STDIN to STDOUT and 
  1821.                         file1..file5.
  1822.  
  1823.  
  1824.     OPTIONS:
  1825.  
  1826.     a                       Append output to specified file[s]
  1827.         s                       Suppress standard output.
  1828.  
  1829.  
  1830.     DESCRIPTION:
  1831.  
  1832.       TEE can be used with the DOS "|" operator and any command which 
  1833.     writes to standard output.  For example:
  1834.  
  1835.         cat file1 file2 | tee file3
  1836.  
  1837.     concatenates file1 and file2 while displaying them on the screen and 
  1838.     stores them in file3.
  1839.  
  1840.                  ls -lb dir1 | tee file1
  1841.  
  1842.         displays dir1 in long format and stores the output in file1.
  1843.  
  1844.           The -a option can be used to append the output to existing files.  
  1845.     If the -a option is not used, existing files will be overwritten.  
  1846.     For example:
  1847.  
  1848.                         tee -a file2 <file1
  1849.  
  1850.         displays file1 and appends it to the end of file2
  1851.  
  1852.                         tee file2 <file1
  1853.  
  1854.         displays file1 and overwrites file2.
  1855.  
  1856.           The -s option can be used to suppress standard output and write to 
  1857.     specified files only.  For example:
  1858.  
  1859.         cat source1 | tee -s file1 file2 file3
  1860.  
  1861.         will make multiple copies of source1 without displaying it on the 
  1862.     screen.
  1863.  
  1864.           TEE is meant for use with text files only and use with binary files 
  1865.     is not recommended.
  1866.  
  1867.  
  1868.  
  1869. ~tolower
  1870.  
  1871.  
  1872.     NAME:
  1873.  
  1874.     TOLOWER         Convert to lower case.
  1875.  
  1876.  
  1877.  
  1878.     SYNTAX:
  1879.  
  1880.     tolower                         Converts STDIN to lower case and 
  1881.                     writes to STDOUT.
  1882.  
  1883.  
  1884.  
  1885.     DESCRIPTION:
  1886.  
  1887.       TOLOWER is a filter which will convert all upper case characters to 
  1888.     lower case.  All other characters are left unchanged.  For example:
  1889.  
  1890.                         tolower < file1 > file2
  1891.  
  1892.         converts file1 to lower case and stores the result in file2.
  1893.  
  1894.  
  1895.  
  1896.  
  1897.  
  1898. ~touch
  1899.  
  1900.  
  1901.     NAME:
  1902.  
  1903.     TOUCH   Modify file date and time.
  1904.  
  1905.  
  1906.  
  1907.     SYNTAX:
  1908.  
  1909.     touch [-t] [mm/dd/yy;hh:mm:ss] file1
  1910.                                                 Changes date and time of file1
  1911.  
  1912.  
  1913.  
  1914.     OPTIONS:
  1915.  
  1916.     t                       User selected time and date.
  1917.  
  1918.  
  1919.  
  1920.     DESCRIPTION:
  1921.  
  1922.       TOUCH will change the date and time of the specified file to the 
  1923.     current DOS date and time.  If the -t option is used the user can 
  1924.     supply the date and time as the next argument in the format 
  1925.     mm/dd/yy;hh:mm:ss.  If the date and time argument is omitted the 
  1926.     user is prompted to enter the  date and time of his choice.  Wildcards 
  1927.     can be used in file names.
  1928.  
  1929.  
  1930.  
  1931.  
  1932. ~toupper
  1933.  
  1934.  
  1935.     NAME:
  1936.  
  1937.     TOUPPER         Convert to upper case.
  1938.  
  1939.  
  1940.  
  1941.     SYNTAX:
  1942.  
  1943.     toupper                         Converts STDIN to upper case and 
  1944.                     writes to STDOUT.
  1945.  
  1946.  
  1947.  
  1948.     DESCRIPTION:
  1949.  
  1950.       TOUPPER is a filter which will convert all lower case characters 
  1951.     to upper case.  All other characters are left unchanged.  For example:
  1952.  
  1953.                         toupper < file1 > file2
  1954.  
  1955.         converts file1 to upper case and stores the result in file2.
  1956.  
  1957.  
  1958. ~wc
  1959.  
  1960.  
  1961.     NAME:
  1962.  
  1963.     WC        Count lines, words and characters in a file.
  1964.  
  1965.  
  1966.  
  1967.     SYNTAX:
  1968.  
  1969.  
  1970.     wc                    Counts lines, words and
  1971.                         characters in STDIN.
  1972.  
  1973.     wc [-clw] file1[..filen]        Counts lines words and
  1974.                         characters in file1..filen.
  1975.  
  1976.  
  1977.  
  1978.     OPTIONS:
  1979.  
  1980.     -c              Print character count only.
  1981.     -l              Print line count only.
  1982.     -w              Print word count only.
  1983.  
  1984.  
  1985.  
  1986.     DESCRIPTION:
  1987.  
  1988.       WC will count the number of lines, words and characters in one
  1989.     or more text files and display the totals on the screen.  Options are 
  1990.     provided to print a count of lines only, words only or characters
  1991.     only. If no options are used WC will display all three counts.
  1992.     For example:
  1993.  
  1994.             wc dosnix.doc
  1995.  
  1996.     will display the total number of lines, words and characters in
  1997.     DOSNIX.DOC, while
  1998.  
  1999.             wc -l dosnix.doc
  2000.  
  2001.     will display only the number of lines in DOSNIX.DOC, and
  2002.  
  2003.             wc -w *.doc
  2004.  
  2005.     will display the number of words in each file with an extension of
  2006.     .DOC.  A word is considered to be one or more characters delimited
  2007.     by a blank, tab or a newline.
  2008.  
  2009.  
  2010.  
  2011.  
  2012.  
  2013.       WC will also read from STDIN.  For example:
  2014.  
  2015.             cat *.c | wc 
  2016.  
  2017.     will give the total number of lines, words and characters in all
  2018.     .C files.  If WC is reading from a file, the name of each file
  2019.     will be printed after the count.  When reading from STDIN, no file
  2020.     name is printed.
  2021.  
  2022.  
  2023.  
  2024.  
  2025.  
  2026.  
  2027.  
  2028.                       DISCLAIMER OF WARRANTY
  2029.  
  2030.     This software and manual are sold "as is" and without warranties as to
  2031.     performance of merchantability or any other warranties whether expressed
  2032.     or implied.  Because of the various hardware and software environments
  2033.     into which this program may be put, no warranty of fitness for a particular
  2034.     purpose is offered.
  2035.  
  2036.     Good data processing procedure dictates that any program be thoroughly
  2037.     tested with non-critical data before relying on it.  The user must assume
  2038.     the entire risk of using the program.  Any liability of the seller will be
  2039.     limited exclusively to product replacement or refund of purchase price.
  2040.  
  2041.  
  2042.  
  2043.  
  2044. ~registration
  2045.  
  2046.  
  2047.           DOSNIX ver. 1.2j is the product of many hours of design, testing
  2048.         and debugging.  If you use this utility package beyond a reasonable
  2049.         period of time for evaluation, you are requested to show your 
  2050.     support for DOSNIX by registering.  When you register you will be 
  2051.     sent a copy of the latest version.  The fee for registration is 
  2052.     $25.00.  
  2053.  
  2054.           Copies of DOSNIX ver. 1.2j can be made and distributed provided 
  2055.         that all utilities, documentation and licensing information are 
  2056.     included.  Even if you do not use this program you are encouraged 
  2057.     to share it with your friends and to upload it to bulletin boards. 
  2058.     Shareware dealers are free to distribute this program provided that 
  2059.     they comply with the guidelines given in VENDOR.DOC.
  2060.  
  2061.           Businesses are invited to use DOSNIX on a trial basis and then to
  2062.         apply for a site license.  Please write to me at the address below
  2063.         to register or to obtain information on site licenses.
  2064.  
  2065.  
  2066.                         Gerald M. Vrooman
  2067.                         RD 1 Box 56
  2068.                         Chenango Forks, NY
  2069.                         13746
  2070.  
  2071.  
  2072.  
  2073.  
  2074.  
  2075.  
  2076. -------------------------------------------------------------------------------
  2077.  
  2078.  
  2079.                   DOSNIX  REGISTRATION
  2080.  
  2081.  
  2082.  
  2083.         NAME:     ____________________________________________________________
  2084.  
  2085.         ADDRESS:  ____________________________________________________________
  2086.  
  2087.                   ____________________________________________________________
  2088.  
  2089.                   ____________________________________________________________
  2090.  
  2091.  
  2092.  
  2093.  
  2094.     ____ Single user registration @ $25.00                ____________
  2095.  
  2096.  
  2097.     ____ Registration plus upgrade @ $30.00                    ____________
  2098.  
  2099.  
  2100.     ____ Basic Site License @ $65.00                      ____________
  2101.          (Up to three computers)
  2102.  
  2103.     ____ Additional computers @ $20.00                    ____________
  2104.  
  2105.  
  2106.  
  2107.     Total amount enclosed                                 ____________
  2108.     
  2109.  
  2110.  
  2111.  
  2112.         Please circle one:      5.25" disk      3.5" disk
  2113.  
  2114.  
  2115.  
  2116.